/**
 * @see [description](https://mp.weixin.qq.com/debug/wxadoc/dev/api/share.html#wxgetshareinfoobject)
 */
export default function get_share_info(shareTicket: string) {
	return new Promise<boolean>((resolve, reject) => {
		wx.getShareInfo({
			shareTicket,
			success() {
				resolve(true);
			},
			fail() {
				reject(false);
			}
		});
	});
}
